<template>
	<view>
		
		<view class="classcenter" v-if="type=='1'"  >
			<page2-type1-view></page2-type1-view>
		</view>
		<view class="classcenter" v-else-if="type=='2'"  > 
			<page2-type2-view></page2-type2-view>
		</view>
		<view class="classcenter" v-else-if="type=='3'"  >
			3
		</view>
		<view class="classcenter" v-else-if="type=='4'"  >
			4
		</view>
		<view class="classcenter" v-else  >
		 	暂无此页面,请从新配置
		 </view>
		 



	</view>
</template>

<script>
	import Page2Type1View from '@/components/page2/page2_type1.vue';
	import Page2Type2View from '@/components/page2/page2_type2.vue';
	import data from '@/static/config_app/config.json'
 
	export default {
		components: {
			 
			Page2Type1View,
			Page2Type2View
		},
		data() {
			return {
				type:"1"

			}
		},
		mounted() {
			console.log("zzzzzzzzz"+JSON.stringify(data))
			this.type=data.page2
			
		  
		},
		methods: {
			
			
			
			 
			}
		 
		 
	}
</script>

<style>

</style>